package com.dd.cloud.user.entity.log;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author czg
 * @since 2022-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Table(comment = "日志模块信息表")
public class LogModul implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @Column(isKey = true, isAutoIncrement = true)
    private Integer id;

    /**
     * url地址
     */
    @Column(length = 100, comment = "url地址")
    private String url;

    /**
     * 所属模块
     */
    @Column(length = 50, comment = "所属模块")
    private String modular;

    /**
     * 功能类型 1添加 2修改 3查询 4操作
     */
    @Column(comment = "功能类型 1添加 2修改 3查询 4操作")
    private Integer type;

    /**
     * 操作内容
     */
    @Column(length = 200, comment = "操作内容")
    private String operDesc;

    /**
     * 功能备注
     */
    @Column(length = 200, comment = "功能备注")
    private String remarks;
}
